package com.xinghen.security.core.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author xinghen
 * @ClassName: SecurityProperties
 * @Package: com.xinghen.security.core.properties
 * @Description security properties
 * @create 2018-04-17 15:16
 */
@ConfigurationProperties(prefix = "xinghen.cloud.security")
@Data
public class SecurityProperties {

    /**
     * 浏览器配置
     */
    private BrowserProperties browser = new BrowserProperties();

    /**
     * 验证码配置
     */
    private ValidateCodeProperties code = new ValidateCodeProperties();

    /**
     * 社交登录配置
     */
    private SocialProperties social = new SocialProperties();

    /**
     * OAuth2认证服务器配置
     */
    private OAuth2Properties oauth2 = new OAuth2Properties();

}
